.billContainer {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  border-radius: 8px;
  height: 100vh;
  overflow: hidden;
  color: #050000;
}

.header {
  display: flex;
  padding: 5px 10px;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  .headerLeft {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
  }
}

.tabsContainer {
  padding: 10px 10px 5px 10px;
  overflow-x: auto;
  white-space: nowrap;
  --webkit-overflow-scrolling: touch;
  background-color: #ffffff;
  .tabs {
    display: flex;
    align-items: center;
    gap: 20px;
    .tab {
      font-size: 16px;
      color: #515151;
      cursor: pointer;
      padding: 6px 10px;
    }

    .active {
      font-size: 18px;
      color: #333333;
      font-weight: bold;
      position: relative;
    }
    .active::after {
      position: absolute;
      content: "";
      width: 35%;
      height: 3px;
      border-radius: 10px;
      left: 50%;
      bottom: 0;
      transform: translateX(-50%);
      background-color: #1890ff;
      z-index: 9;
    }
  }
}
.tabsContainer::-webkit-scrollbar {
  display: none;
}

.mainContain {
  width: 100%;
  height: calc(100vh - 91px);
  overflow-y: scroll;
}
.mainContain::-webkit-scrollbar {
  display: none;
}

.billDetails {
  padding: 20px 10px;
  padding-bottom: 10px;
  .detailTop {
    display: flex;
    justify-content: space-between;
    .customerName {
      display: flex;
      align-items: center;
      font-size: 20px;
      color: #333;
      font-weight: bold;
      .nameBox {
        display: flex;
        align-items: center;
        gap: 10px;
        .eyeIcon {
          transform: translateY(-3px);
          width: 20px;
          display: flex;
          img {
            width: 100%;
            height: 100%;
          }
        }
      }
    }
    .customerBtn {
      display: flex;
      align-items: center;
      gap: 10px;
      div {
        display: flex;
        justify-content: center;
        align-items: center;
      }
      .read {
        background-color: #f1f8ff;
        border: 1px solid #91c7fa;
        color: #1b92ff;
        padding: 3px 8px;
        border-radius: 20px;
      }
      .love {
        background-color: #fff6f5;
        border: 1px solid #ffbcbd;
        color: #ff5d5f;
        padding: 3px 8px;
        border-radius: 20px;
      }
    }
  }
  .zq {
    margin-top: 20px;
    font-size: 14px;
    color: #666666;
  }
  .amount {
    display: flex;
    justify-content: center;
    margin-top: 12px;

    .amountContain {
      width: 95%;
      background: linear-gradient(180deg, #1d91ff 0%, #cce4fb 100%);
      border-radius: 10px;
      padding: 0 5px;
      padding-bottom: 5px;
      .top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 20px 10px 20px;
        font-size: 18px;
        color: #ffffff;
        span {
          padding-bottom: 10px;
        }
        span:first-child {
          position: relative;
        }
        span:first-child::after {
          content: "";
          position: absolute;
          width: 25px;
          height: 5px;
          border-radius: 10px;
          background: #ffffff;
          bottom: 0;
          left: 50%;
          transform: translateX(-50%);
        }
        span:last-child {
          color: #9acefe;
        }
      }
      .btm {
        width: 100%;
        background-color: #ffffff;
        border-radius: 10px;
        overflow: hidden;
        .btm_title {
          display: flex;
          justify-content: center;
          align-items: center;
          font-size: 12px;
          padding: 10px 0;
          background: linear-gradient(180deg, #a1d1ff, #f2f9ff);
          span {
            color: #559cd9;
          }
          .num {
            padding: 0px 7px;
            text-align: center;
            border-radius: 40%;
            margin-left: 10px;
            color: #ffffff;
            background: linear-gradient(180deg, #56a5ee, #9accfd);
          }
        }
        .btm_contain {
          padding-top: 20px;
          padding-bottom: 15px;
          display: flex;
          flex-direction: column;
          align-items: center;
          .btm_contain_top {
            display: flex;
            align-items: center;
            flex-direction: column;
            font-size: 12px;
            .btm_contain_top_title {
              color: #787878;
              span {
                font-size: 10px;
              }
            }
            .expenditure {
              font-size: 30px;
              font-weight: bold;
            }
          }
          .btm_contain_btn {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 5px 30px;
            color: #fffeff;
            background-color: #1890ff;
            border-radius: 20px;
            margin-top: 15px;
          }
        }
      }
    }
  }
  .warning {
    padding: 10px 10px;
    color: #999999;
    font-size: 14px;
  }
}

.footer {
  padding: 0 10px;
  .planInfo {
    position: relative;
    font-size: 16px;
    padding-left: 10px;
    color: #4d4d4d;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
    .expand {
      font-weight: 500;
      color: #1a91ff;
    }
  }
  .planInfo::before {
    position: absolute;
    content: "";
    width: 3px;
    border-radius: 3px;
    height: 30%;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #1890ff;
  }
  .infoDetail {
    margin-top: 15px;
    background-color: #ffffff;
    padding: 0px 10px;
    border-radius: 10px;
    .detailItem {
      padding: 12px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      .detailItemLeft {
        display: flex;
        align-items: center;
        gap: 5px;
        span:first-child {
          color: #999999;
        }
        span:last-child {
          padding: 0 5px;
          text-align: center;
          font-size: 10px;
          border-radius: 10px;
          color: #ffffff;
          background-color: #ff5e5e;
        }
      }
      .item_total {
        font-weight: bold;
      }
    }
  }
  .detailItem_border {
    border-bottom: 1px solid #e5e5e5;
  }
  .total {
    margin-top: 15px;
    background-color: #ffffff;
    padding: 12px 10px;
    border-radius: 10px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
  }
}
.lastMonth {
  width: 90%;
  border-radius: 10px;
  background-color: #f8f8f8;
  padding: 20px 10px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #cdcdcd;
  position: relative;
  .lastMonth_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .lastMonth_btm {
    display: flex;
    justify-content: space-between;
    img {
      width: 15px;
      height: 15px;
    }
  }
  .sjImg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -100%);
    width: 60px;
    img {
      width: 100%;
      height: 100%;
    }
  }
}

.over {
  margin-top: 10px;
  color: #fc5e5e;
}

.computedLast {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-radius: 10px;
  background-color: #ffffff;
  .left {
    display: flex;
    align-items: center;
    .text {
      display: flex;
      align-items: flex-start;
      gap: 2px;
      span:nth-child(3) {
        margin-left: -7px;
      }
      img {
        width: 10px;
      }
    }
  }
  .right{
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #989898;
  }
}

.btm_img {
  width: 100%;
  padding: 10px;
  img {
    width: 100%;
    height: 100%;
  }
}
